| GUI Help > Special > setScrollbarThumbSize | ||||||||||||||
|
setScrollbarThumbSize |
||||||||||||||
| setScrollbarThumbSize handle gadget, int size | ||||||||||||||
|
Description: Sets the size of the scrollbar's thumb. The size is specified in terms of the scrollbar's range. For example, if the range set with setScrollbarRange is 0 to 10, a thumb size of 1 will result in the thumb taking up a tenth of the scrollbar. A thumb size of 10 will result in the thumb taking up all of the scrollbar. Typically the thumb gets smaller as the working space gets larget (this allows the user to scroll more). Altering the range will automatically change this. If you make the range twice as large, the thumb will now be half the size. |
||||||||||||||
|
Return Value: |
||||||||||||||
| Parameters: | ||||||||||||||
|
||||||||||||||
| Remarks:
|
||||||||||||||
| See Also:
|
||||||||||||||
|
Example: (Note: You will need to include the GUI constants file for this example to work) |